home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / archiver / psdzip.zip / ZR.TXT < prev   
Text File  |  1993-05-31  |  4KB  |  84 lines

  1.  ZR    : Deletes all files extracted from a ZIP file
  2.  
  3.  USAGE : ZR zipfile [files-directory] [-draiks]
  4.  WHERE :  d = files were extracted according to
  5.               the zipfile's directory structure
  6.           r = remove (delete) zipfile too
  7.           a = ask permission to delete each file
  8.           i = ignore filesize/filetime/filedate mismatches
  9.               (matches filename only when deleting)
  10.           k = keep (do not remove) empty zipfile directory
  11.           s = save (do not remove) empty files-directory
  12.  
  13. Copyright 1993 by Paul R.Sadowski
  14. All rights reserved.
  15.  
  16. Sample usage: ZR h:\downloads\myzip.zip c:\test -risk
  17.  
  18. Deletes all files contained in the ZIP file myzip.zip that reside
  19. in the subdirectory \test on drive C, deleting the original ZIP file (r),
  20. matching files by filename only (i), keeps the files directory \test if it
  21. is emptied (s), and keeps the subdirectory \downloads if it is emptied (k)
  22. ////////////////////////////////////////////////////////////////////////////
  23. ZR removes from your disk the files previously extracted from any compressed
  24. ZIP file.
  25.  
  26. ZR will allow you to specify a path to the files or use the directory
  27. in which the ZIP resides if a files path is not specified.
  28.  
  29. ZR will attempt to remove the subdirectory in which the extracted files
  30. reside. You may choose to override this feature by using the 's' switch.
  31.  
  32. ZR will delete the original ZIP file if you so choose. Using the 'r' switch
  33. deletes the file. The default is to keep the original ZIP file.
  34.  
  35. ZR will attempt to remove the directory in which the original ZIP file
  36. resides, but only if you have used the 'r' switch to delete the original
  37. ZIP file. To override the accompanying directory removal use the 'k' switch.
  38.  
  39. ZR will automatically delete all files in the archive. If you prefer to 
  40. retain one or more of those files, use the 'a' switch to inform ZR to 
  41. prompt you for permission to delete each file as it finds it.
  42.  
  43. ZR will discard any pathnames it finds within the zipfile's directory
  44. structure. If you have unzipped the file following the zipfile's directory
  45. structure you should use the 'd' switch to keep the zipfile's directory
  46. structure. Note that PKUNZIP normaly does not extract according to the zip's 
  47. dir. struct. It must be requested with PKUNZIP's 'd' switch. UNZIP on the 
  48. other hand does normaly extract according to the zip's directory structure.
  49.  
  50. Since you may some files in your directory that conflict with names in the
  51. original archive, ZR matches not only the filenames but also the file
  52. creation times and dates and their sizes. If ZR finds a matching filename
  53. but its other fields do not match ZR will not delete the file. This feature
  54. can, however, be overridden with the 'i' switch. ZR will then delete based
  55. on filename matches only.
  56. ////////////////////////////////////////////////////////////////////////////
  57. Licenses, distribution and agreements:
  58.  
  59. ZR may not be used for any commercial purpose without a written license
  60. from the author, nor may it be used for any purpose that is related to
  61. a commercial activity even though its specific use is not commercial in 
  62. itself.
  63.  
  64. ZR may not be distributed commercially without the written agreement of the
  65. author. However, the author understands that SIMTEL20 may release copies  
  66. of its files to various CD-ROM vendors and agrees to allow such 
  67. distribution without written consent to those vendors that distribute on
  68. CD-ROM significant portions of the SIMTEL20 archives. This does not, however, 
  69. allow the commercial distribution of this file based solely on its retrieval
  70. from the SIMTEL20 archives or from any of the vendors who do meet the
  71. requirements of this exception.
  72.  
  73. AR.COM is free for noncommercial distribution provided that it is distributed
  74. with this document and neither is altered in form or condition by other than
  75. those changes that occur from the creation of a compressed archive.
  76.  
  77. Usage of AR.COM is at the sole risk of its user. No warranty of any kind
  78. is given or suggested. AR.COM and its documentation are provide on an
  79. AS-IS basis.
  80.  
  81. The author may be contacted at 'aa089@freenet.buffalo.edu'
  82.  
  83. Copyright 1993 by Paul R. Sadowski.
  84.